package day3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Tiangle {
    //三角形
    public static void main(String[] args) {
        Scanner innput = new Scanner(System.in);
        System.out.print("请输入个数:");
        int h = innput.nextInt();
        for (int j = 0; j < h; j++) {
            for (int i = 0; i <= j; i++) {
                System.out.print("*");
            }
            System.out.println();
        }

    }
}
